package com_;

import java.io.File;

public class Test {
    public static void main(String[] args) {
        File f = new File("E:\\itcast");
     show(f);
    }
    public static void show(File f) {
        File[] files = f.listFiles();
        for (File file : files) {
            if (file != null) {
                show(file);
            } else {
                System.out.println(file.getAbsolutePath());
            }
        }
    }
}
